<?php
// +----------------------------------------------------------------------
// | EtrolPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Author: Author: HCZ <huangchengze@etrol.com> 
// +----------------------------------------------------------------------

namespace app\warning\controller;

use app\common\controller\Admin;
use app\warning\controller\api\Present as PresentApi;
use app\admin\controller\ajax\Library as Ajax;

/**
 * 预警预测展示
 * @package app\Event
 */
class Present  extends Admin{
	protected $api;
	protected $ajax;
	
	public function _initialize()
	{
		parent::_initialize();
		$this->api = new PresentApi();
		$this->ajax= new Ajax();
	}
	
	public function index(){
		$enterpriseList = model('basic/enterprise')->select();
		$this->assign('enterpriseList',$enterpriseList);
		return $this->fetch();
	}
	
	
	
	
}
